package com.aliang.shopping.mapper;

import com.aliang.shopping.model.dto.common.PageDTO;
import com.aliang.shopping.model.po.Notice;
import com.aliang.shopping.model.vo.notice.NoticeVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author ShiBaLover
* @description 针对表【notice】的数据库操作Mapper
* @createDate 2024-10-05 17:12:17
* @Entity com.aliang.shopping.model.po.Notice
*/
public interface NoticeMapper extends BaseMapper<Notice> {


    IPage<NoticeVO> getPage(IPage<NoticeVO> page, @Param("do")PageDTO pageDTO,@Param("userId") Long userId);

    List<NoticeVO> getVoList(@Param("do") PageDTO pageDTO,@Param("userId") Long userId);
}




